package com.dandelion.manager.system.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class Resource implements Serializable {
	private static final long serialVersionUID = 1L;

	private Long id;

    private Long pid;

    private Long menu_id;

    private String text;
    
    private String identity ;
    
    private String iconCls;

    private String href;

    private String state;

    private Boolean status;

    private Integer sorting;

    private Date createTime;

    private Date updateTime;
    
    private List<Resource> children ;
    
    private List<Permit> permits;
    
    /*******************业务属性*********************/
    private String permitIds ;

    
    public List<Permit> getPermits() {
		return permits;
	}

	public void setPermits(List<Permit> permits) {
		this.permits = permits;
	}

	public String getPermitIds() {
		return permitIds;
	}

	public void setPermitIds(String permitIds) {
		this.permitIds = permitIds;
	}

	public List<Resource> getChildren() {
		return children;
	}

	public void setChildren(List<Resource> children) {
		this.children = children;
	}

	public String getIdentity() {
		return identity;
	}

	public void setIdentity(String identity) {
		this.identity = identity;
	}

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Long getMenu_id() {
        return menu_id;
    }

    public String getIconCls() {
		return iconCls;
	}

	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public void setMenu_id(Long menu_id) {
        this.menu_id = menu_id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text == null ? null : text.trim();
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href == null ? null : href.trim();
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public Integer getSorting() {
        return sorting;
    }

    public void setSorting(Integer sorting) {
        this.sorting = sorting;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}